package com.bestcem.xm.qdes.handler.export.type;

import com.alibaba.fastjson.JSONObject;
import com.bestcem.xm.qdes.handler.export.BaseTypeHandler;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class MatrixScoreHandler implements BaseTypeHandler {

    @Override
    public List<Object> getItems(JSONObject questionDict, JSONObject qgidDict, List<JSONObject> relatedRefs) {
        // 矩阵打分题
        //MatrixSingleHandler singleHandler = new MatrixSingleHandler();
        //return singleHandler.getItems(questionDict, qgidDict, relatedRefs);
        return getItems4MatrixSingle(questionDict, qgidDict, relatedRefs);
    }

    @Override
    public String getType() {
        return "matrix_score";
    }
}
